package vn.edu.hut.soict.translate.transform.utils;

import java.util.ArrayList;
import java.util.List;

public class GrammaticalPerson extends WordTransformUtils {
	
	public static boolean isPersonAgree(String pronoun, String be) {
		if (pronoun.equalsIgnoreCase("I") && (be.equalsIgnoreCase("am") || be.equalsIgnoreCase("was"))) {
			return true;
		}
		if (pronoun.equalsIgnoreCase("we") && (be.equalsIgnoreCase("are") || be.equalsIgnoreCase("were"))) {
			return true;
		}
		if (pronoun.equalsIgnoreCase("you") && (be.equalsIgnoreCase("are") || be.equalsIgnoreCase("were"))) {
			return true;
		}
		if ((pronoun.equalsIgnoreCase("he") || pronoun.equalsIgnoreCase("she") || pronoun.equalsIgnoreCase("it")) && (be.equalsIgnoreCase("is") || be.equalsIgnoreCase("was"))) {
			return true;
		}
		if (pronoun.equalsIgnoreCase("they") && (be.equalsIgnoreCase("are") || be.equalsIgnoreCase("were"))) {
			return true;
		}
		return false;
	}
	
	public static String conjugate(String be, String pronoun) {
		return be;
	}

}
